<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>type属性1</title>
</head>
<body>
    <form action="#" method="get" autocomplete="on">
        <div>
            <label for="username">账号：</label>
            <input type="text" id="username" name="username" value="" placeholder="请在此输入账号" required/>
        </div>

        <div>
            <label for="password">密码：</label>
            <input type="password" id="password" name="password" value="" placeholder="请在此输入密码" required/>
        </div>

        <div>
            <label for="email">邮箱：</label>
            <input type="email" id="email" name="email" value="" placeholder="请在此输入邮箱" required/>
        </div>

        <div>
            <label for="gender">性别：</label>
            <input type="radio" id="gender" name="gender" value="men"/>男
            <input type="radio" name="gender" value="women"/>女
            <input type="radio" name="gender" value="other"/>其他
        </div>

        <div>
            <label for="hobby">爱好：</label>
            <input type="checkbox" id="hobby" name="hobby" value="men"/>男
            <input type="checkbox" name="hobby" value="women"/>女
            <input type="checkbox" name="hobby" value="rop"/>rop
        </div>

        <div>
            <input type="submit" value="提交"/>
            <input type="reset" value="重置"/>
        </div>

    </form>
</body>
</html>